Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.multi.tenant.directories--layouts

This contribution is part of XML component org.nuxeo.ecm.multi.tenant.directories inside nuxeo-multi-tenant-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="multi_tenant_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>multi_tenant_vocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_label</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_vocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="multi_tenant_subtopic_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_id</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_label</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>multi_tenant_xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>multitenantxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">topic</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="multi_tenant_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>multi_tenant_vocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_label</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_vocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="multi_tenant_subtopic_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_id</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_label</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>multi_tenant_xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>multitenantxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">topic</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
        </properties>
      </widget>
    </layout>
  </extension>